Skip to content

Conversation

Jordan-Lane
Copy link
Contributor

This PR is to support more Clip Boxes by passing them by DataTexture instead of a Uniform Matrix array. This allows us to greatly increase the number of possible clipping boxes while not having to worry about gl.MAX_VERTEX_UNIFORM_VECTORS.

@HectorArellanoDev
Copy link
Collaborator

Hello Jordan, I´m taking care of checking the PRS so I´ll be testing this feature, will get back to you this week. That being said, the new feature assumes that the user can have up to a 1000 clip boxes which implies 4 texture fetches per box, this can hurt the shader performance wise.

@HectorArellanoDev
Copy link
Collaborator

Sorry I haven´t posted anything yet, this feature is being tested

@pjurczynski
Copy link
Collaborator

We've run prettier recently. It's highly recommended to first run "npm run format:write", commit and rebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants